<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>RestfulLinux: RFTrigger.h文件参考</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">RestfulLinux
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- 制作者 Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="annotated.html"><span>数据结构</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>全局定义</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">数据结构</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#typedef-members">类型定义</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">RFTrigger.h文件参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>触发器操作接口封装。触发器主要用于设置某种条件，数据流上传的数据点满足 条件时，自动向指定url发起POST请求。  
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="osDataType_8h_source.html">osAdaption/osDataType.h</a>&gt;</code><br/>
</div>
<p><a href="RFTrigger_8h_source.html">浏览该文件的源代码。</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
数据结构</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structRFTriggerConfig.html">RFTriggerConfig</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">触发器配置信息结构定义  <a href="structRFTriggerConfig.html#details">更多...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
宏定义</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#a4b9705e1b0fa12219ffce732299483da">TRIGGER_TITILE_LEN_MAX</a>&#160;&#160;&#160;31</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#a5ebb06f2ad457bfc5e13a50b31e39527">TRIGGER_DSUUIDLIST_LEN_MAX</a>&#160;&#160;&#160;127</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#ac906443b0d6083250c2528fdf7123f56">TRIGGER_URL_LEN_MAX</a>&#160;&#160;&#160;127</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#abd041482c4b14cb0963d7f2a967582e2">TRIGGER_PARAM_LEN_MAX</a>&#160;&#160;&#160;255</td></tr>
<tr><td colspan="2"><div class="groupHeader">5种关系运算型触发</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>触发参数为指定数值（double型） </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#a9b09b9a2842652ed0b1345da3b5619cd">TRIGGER_TYPE_LT</a>&#160;&#160;&#160;0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#a9a869935f93df9b2b9ea87420663abfd">TRIGGER_TYPE_LE</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#a2012001d07014d89c6922b3a4837995e">TRIGGER_TYPE_GT</a>&#160;&#160;&#160;2</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#a1455f0984c7641e7a76319d232e7c25a">TRIGGER_TYPE_GE</a>&#160;&#160;&#160;3</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#a3b571b7685744389451226715e0e6e68">TRIGGER_TYPE_EQ</a>&#160;&#160;&#160;4</td></tr>
<tr><td colspan="2"><div class="groupHeader">区间触发</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>触发参数(两个double型)用于指定触发区间下限（第一个double）和上限（第二个double） </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#a809a854b40746735960cd78bea28119f">TRIGGER_TYPE_IN</a>&#160;&#160;&#160;5</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#a969503046eecb4dea5e4e4b15dbb60c5">TRIGGER_TYPE_OUT</a>&#160;&#160;&#160;6</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#a5189a172a939498edbab037f21d7ff33">TRIGGER_TYPE_INOUT</a>&#160;&#160;&#160;7</td></tr>
<tr><td colspan="2"><div class="groupHeader">条件指定触发</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>触发参数为字符串类型的条件表达式。<br/>
 $val[0]表示第一个数据流，$val[1]为第二个，以此类推 例如，第一个数据流上报数据点格式为：{“temperature”:22, “humidity”:56},若需设置温度大于30， 且湿度小于33时触发告警，则threshold中条件表达式可设置为：<br/>
 “$val[0][‘temperature’] &gt; 30 &amp;&amp; $val[0][‘humidity’]&lt; 33 ” </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e2d0ef35373eb835a531bbbaef2bd60"></a><!-- doxytag: member="RFTrigger.h::TRIGGER_TYPE_EXP" ref="a7e2d0ef35373eb835a531bbbaef2bd60" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TRIGGER_TYPE_EXP</b>&#160;&#160;&#160;8</td></tr>
<tr><td colspan="2"><div class="groupHeader">数据变化触发</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>无需触发参数，当上传的值有变化时触发 </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4033c1c35a7e9a82dba2d79073bd4360"></a><!-- doxytag: member="RFTrigger.h::TRIGGER_TYPE_CHANGE" ref="a4033c1c35a7e9a82dba2d79073bd4360" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TRIGGER_TYPE_CHANGE</b>&#160;&#160;&#160;9</td></tr>
<tr><td colspan="2"><div class="groupHeader">活动状态变化触发</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#ad3b804c7e1200356f4874e67ad6040d1">TRIGGER_TYPE_FROZEN</a>&#160;&#160;&#160;10</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#a921578a2039b32aa6756fbdaf08b3e79">TRIGGER_TYPE_LIVE</a>&#160;&#160;&#160;11</td></tr>
<tr><td colspan="2"><div class="groupHeader">未知触发类型</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a416717e75e1964443055cfb2e11114f7"></a><!-- doxytag: member="RFTrigger.h::TRIGGER_TYPE_UNKNOWN" ref="a416717e75e1964443055cfb2e11114f7" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TRIGGER_TYPE_UNKNOWN</b>&#160;&#160;&#160;20</td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
类型定义</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8a891087390c1e4b1408827b43153932"></a><!-- doxytag: member="RFTrigger.h::pRFTriggerConfig" ref="a8a891087390c1e4b1408827b43153932" args="" -->
typedef struct <a class="el" href="structRFTriggerConfig.html">RFTriggerConfig</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>pRFTriggerConfig</b></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
函数</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#a11e461c70d04885c5536a10d36b22756">RFTrigger_Create</a> (<a class="el" href="structRFTriggerConfig.html">RFTriggerConfig</a> *config, int8 *triggerID)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">创建触发器  <a href="#a11e461c70d04885c5536a10d36b22756"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#a2b81e222ed85224cbec913345a255ef3">RFTrigger_UpdateInfo</a> (int8 *triggerID, <a class="el" href="structRFTriggerConfig.html">RFTriggerConfig</a> *config)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">更新触发器信息  <a href="#a2b81e222ed85224cbec913345a255ef3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#ac4ba291113e86f09f9c7f04ed9c06b89">RFTrigger_View</a> (int8 *triggerID, <a class="el" href="structRFTriggerConfig.html">RFTriggerConfig</a> *config)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">查看触发器  <a href="#ac4ba291113e86f09f9c7f04ed9c06b89"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="RFTrigger_8h.html#a1cc0e6a85794d571a007dc73facf7399">RFTrigger_Delete</a> (int8 *triggerID)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">删除触发器  <a href="#a1cc0e6a85794d571a007dc73facf7399"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>详细描述</h2>
<div class="textblock"><p>触发器操作接口封装。触发器主要用于设置某种条件，数据流上传的数据点满足 条件时，自动向指定url发起POST请求。 </p>
<p>Copyright (c), 2012~2016 iot.10086.cn All Rights Reserved</p>
<dl class="author"><dt><b>作者:</b></dt><dd>宋伟&lt;<a href="mailto:songwei1@iot.chinamobile.com">songwei1@iot.chinamobile.com</a>&gt; </dd></dl>
<dl class="date"><dt><b>日期:</b></dt><dd>2016/05/24 </dd></dl>
<dl class="version"><dt><b>版本:</b></dt><dd>1.0.0 </dd></dl>
<dl class="user"><dt><b>Revision History:</b></dt><dd>Date Author Revised.Ver Notes<br/>
 2015/5/24 宋伟 1.0.0 file created<br/>
 </dd></dl>
</div><hr/><h2>宏定义文档</h2>
<a class="anchor" id="a5ebb06f2ad457bfc5e13a50b31e39527"></a><!-- doxytag: member="RFTrigger.h::TRIGGER_DSUUIDLIST_LEN_MAX" ref="a5ebb06f2ad457bfc5e13a50b31e39527" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="RFTrigger_8h.html#a5ebb06f2ad457bfc5e13a50b31e39527">TRIGGER_DSUUIDLIST_LEN_MAX</a>&#160;&#160;&#160;127</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>数据流唯一标识符长度定义 </p>

</div>
</div>
<a class="anchor" id="abd041482c4b14cb0963d7f2a967582e2"></a><!-- doxytag: member="RFTrigger.h::TRIGGER_PARAM_LEN_MAX" ref="abd041482c4b14cb0963d7f2a967582e2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="RFTrigger_8h.html#abd041482c4b14cb0963d7f2a967582e2">TRIGGER_PARAM_LEN_MAX</a>&#160;&#160;&#160;255</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>触发参数长度定义 </p>

</div>
</div>
<a class="anchor" id="a4b9705e1b0fa12219ffce732299483da"></a><!-- doxytag: member="RFTrigger.h::TRIGGER_TITILE_LEN_MAX" ref="a4b9705e1b0fa12219ffce732299483da" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="RFTrigger_8h.html#a4b9705e1b0fa12219ffce732299483da">TRIGGER_TITILE_LEN_MAX</a>&#160;&#160;&#160;31</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>触发器名称长度定义 </p>

</div>
</div>
<a class="anchor" id="a3b571b7685744389451226715e0e6e68"></a><!-- doxytag: member="RFTrigger.h::TRIGGER_TYPE_EQ" ref="a3b571b7685744389451226715e0e6e68" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="RFTrigger_8h.html#a3b571b7685744389451226715e0e6e68">TRIGGER_TYPE_EQ</a>&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>等于 </p>

</div>
</div>
<a class="anchor" id="ad3b804c7e1200356f4874e67ad6040d1"></a><!-- doxytag: member="RFTrigger.h::TRIGGER_TYPE_FROZEN" ref="ad3b804c7e1200356f4874e67ad6040d1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="RFTrigger_8h.html#ad3b804c7e1200356f4874e67ad6040d1">TRIGGER_TYPE_FROZEN</a>&#160;&#160;&#160;10</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>触发参数为数值（double型），指定多少秒内未上报数据触发告警，同时被监控对象进入frozen状态 </p>

</div>
</div>
<a class="anchor" id="a1455f0984c7641e7a76319d232e7c25a"></a><!-- doxytag: member="RFTrigger.h::TRIGGER_TYPE_GE" ref="a1455f0984c7641e7a76319d232e7c25a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="RFTrigger_8h.html#a1455f0984c7641e7a76319d232e7c25a">TRIGGER_TYPE_GE</a>&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>大于等于 </p>

</div>
</div>
<a class="anchor" id="a2012001d07014d89c6922b3a4837995e"></a><!-- doxytag: member="RFTrigger.h::TRIGGER_TYPE_GT" ref="a2012001d07014d89c6922b3a4837995e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="RFTrigger_8h.html#a2012001d07014d89c6922b3a4837995e">TRIGGER_TYPE_GT</a>&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>大于 </p>

</div>
</div>
<a class="anchor" id="a809a854b40746735960cd78bea28119f"></a><!-- doxytag: member="RFTrigger.h::TRIGGER_TYPE_IN" ref="a809a854b40746735960cd78bea28119f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="RFTrigger_8h.html#a809a854b40746735960cd78bea28119f">TRIGGER_TYPE_IN</a>&#160;&#160;&#160;5</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>进入区间时触发 </p>

</div>
</div>
<a class="anchor" id="a5189a172a939498edbab037f21d7ff33"></a><!-- doxytag: member="RFTrigger.h::TRIGGER_TYPE_INOUT" ref="a5189a172a939498edbab037f21d7ff33" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="RFTrigger_8h.html#a5189a172a939498edbab037f21d7ff33">TRIGGER_TYPE_INOUT</a>&#160;&#160;&#160;7</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>上述两种情况都触发 </p>

</div>
</div>
<a class="anchor" id="a9a869935f93df9b2b9ea87420663abfd"></a><!-- doxytag: member="RFTrigger.h::TRIGGER_TYPE_LE" ref="a9a869935f93df9b2b9ea87420663abfd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="RFTrigger_8h.html#a9a869935f93df9b2b9ea87420663abfd">TRIGGER_TYPE_LE</a>&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>小于等于 </p>

</div>
</div>
<a class="anchor" id="a921578a2039b32aa6756fbdaf08b3e79"></a><!-- doxytag: member="RFTrigger.h::TRIGGER_TYPE_LIVE" ref="a921578a2039b32aa6756fbdaf08b3e79" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="RFTrigger_8h.html#a921578a2039b32aa6756fbdaf08b3e79">TRIGGER_TYPE_LIVE</a>&#160;&#160;&#160;11</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>无需触发参数，被监控对象在frozen状态下收到上报的数据点时，触发告警 </p>

</div>
</div>
<a class="anchor" id="a9b09b9a2842652ed0b1345da3b5619cd"></a><!-- doxytag: member="RFTrigger.h::TRIGGER_TYPE_LT" ref="a9b09b9a2842652ed0b1345da3b5619cd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="RFTrigger_8h.html#a9b09b9a2842652ed0b1345da3b5619cd">TRIGGER_TYPE_LT</a>&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>小于 </p>

</div>
</div>
<a class="anchor" id="a969503046eecb4dea5e4e4b15dbb60c5"></a><!-- doxytag: member="RFTrigger.h::TRIGGER_TYPE_OUT" ref="a969503046eecb4dea5e4e4b15dbb60c5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="RFTrigger_8h.html#a969503046eecb4dea5e4e4b15dbb60c5">TRIGGER_TYPE_OUT</a>&#160;&#160;&#160;6</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>离开区间时触发 </p>

</div>
</div>
<a class="anchor" id="ac906443b0d6083250c2528fdf7123f56"></a><!-- doxytag: member="RFTrigger.h::TRIGGER_URL_LEN_MAX" ref="ac906443b0d6083250c2528fdf7123f56" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="RFTrigger_8h.html#ac906443b0d6083250c2528fdf7123f56">TRIGGER_URL_LEN_MAX</a>&#160;&#160;&#160;127</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>触发器发送POST消息的目的URL长度定义 </p>

</div>
</div>
<hr/><h2>函数文档</h2>
<a class="anchor" id="a11e461c70d04885c5536a10d36b22756"></a><!-- doxytag: member="RFTrigger.h::RFTrigger_Create" ref="a11e461c70d04885c5536a10d36b22756" args="(RFTriggerConfig *config, int8 *triggerID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32 <a class="el" href="RFTrigger_8h.html#a11e461c70d04885c5536a10d36b22756">RFTrigger_Create</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structRFTriggerConfig.html">RFTriggerConfig</a> *&#160;</td>
          <td class="paramname"><em>config</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int8 *&#160;</td>
          <td class="paramname"><em>triggerID</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>创建触发器 </p>
<dl class="params"><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">config</td><td>触发器参数 </td></tr>
    <tr><td class="paramname">triggerID</td><td>触发器创建成功后返回触发器在云端分配的ID</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>参考<a class="el" href="OSAErrno_8h.html">OSAErrno.h</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a1cc0e6a85794d571a007dc73facf7399"></a><!-- doxytag: member="RFTrigger.h::RFTrigger_Delete" ref="a1cc0e6a85794d571a007dc73facf7399" args="(int8 *triggerID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32 <a class="el" href="RFTrigger_8h.html#a1cc0e6a85794d571a007dc73facf7399">RFTrigger_Delete</a> </td>
          <td>(</td>
          <td class="paramtype">int8 *&#160;</td>
          <td class="paramname"><em>triggerID</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>删除触发器 </p>
<dl class="params"><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">triggerID</td><td>指定需要删除的触发器ID</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>参考<a class="el" href="OSAErrno_8h.html">OSAErrno.h</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a2b81e222ed85224cbec913345a255ef3"></a><!-- doxytag: member="RFTrigger.h::RFTrigger_UpdateInfo" ref="a2b81e222ed85224cbec913345a255ef3" args="(int8 *triggerID, RFTriggerConfig *config)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32 <a class="el" href="RFTrigger_8h.html#a2b81e222ed85224cbec913345a255ef3">RFTrigger_UpdateInfo</a> </td>
          <td>(</td>
          <td class="paramtype">int8 *&#160;</td>
          <td class="paramname"><em>triggerID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structRFTriggerConfig.html">RFTriggerConfig</a> *&#160;</td>
          <td class="paramname"><em>config</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>更新触发器信息 </p>
<dl class="params"><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">triggerID</td><td>指定需要更新的触发器ID </td></tr>
    <tr><td class="paramname">config</td><td>需要更新的触发器信息</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>参考<a class="el" href="OSAErrno_8h.html">OSAErrno.h</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac4ba291113e86f09f9c7f04ed9c06b89"></a><!-- doxytag: member="RFTrigger.h::RFTrigger_View" ref="ac4ba291113e86f09f9c7f04ed9c06b89" args="(int8 *triggerID, RFTriggerConfig *config)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32 <a class="el" href="RFTrigger_8h.html#ac4ba291113e86f09f9c7f04ed9c06b89">RFTrigger_View</a> </td>
          <td>(</td>
          <td class="paramtype">int8 *&#160;</td>
          <td class="paramname"><em>triggerID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structRFTriggerConfig.html">RFTriggerConfig</a> *&#160;</td>
          <td class="paramname"><em>config</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>查看触发器 </p>
<dl class="params"><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">triggerID</td><td>指定需要查看的触发器ID </td></tr>
    <tr><td class="paramname">config</td><td>用于返回触发器信息</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>参考<a class="el" href="OSAErrno_8h.html">OSAErrno.h</a> </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>数据结构</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>枚举</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>宏定义</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated at 2016年六月3日 星期五 09:08:32 for RestfulLinux by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
